
<!--<%@ Page Language="c#" AutoEventWireup="true" CodeFile="category_List.aspx.cs" Inherits="Ccategory_List" %>-->
<html>
<head>
<title>Category</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {height:100%;display:table;}
#search_block{$id} div {padding:5px 7px;}
#global_block{$id} {padding:5px 12px;min-height:800px}
#search_block_center{$id} {padding:3px 5px;text-align:center;}
#center_block{$id} {text-align:center;padding:4px;}
#center_block_caption{$id} {text-align:center;padding:4px;}
#left_block{$id} { position:absolute;width:200px; left:20px; overflow:hidden;margin-top:10px}
#right_block{$id} { padding:10px 0px 0px 220px;}
#toplinks_block{$id} {padding:0 5px 5px 5px;}
#toplinks_block{$id} > * {margin:4px 6px;vertical-align:middle;}
#menu_block{$id} {clear:left;}
#menu_block{$id} div {padding:10px;}
#details_block{$id}, #pages_block{$id}, #records_pp_block{$id} {white-space:nowrap;padding:5px 7px;text-align:center;}
#recordspp_block{$id} {padding:10px;}
#recordcontrols_block{$id} {padding:13px 10px 9px 10px;text-align:left}
#record_controls{$id} > *,#newrecord_controls{$id} > * {margin:2px 2px;vertical-align:middle}
.menuitem {padding:6px 18px 10px 13px}
.menuitem_active {padding:6px 18px 11px 13px}
.message_block {text-align:center;}
.grid_recordheader {padding:0 5px 5px}
.grid_recordheader * {margin:0px 5px; vertical-align:middle}
#grid_block{$id} {margin-top:10px;}
.headerlist_right2 *,.headerlist * {vertical-align:middle}
</style>
{END style_block}
<!--[if IE]>
{BEGIN iestyle_block}
<style>
#right_block{$id} { width:100%}
#global_block{$id} {height:95%}
</style>
{END iestyle_block}
<![endif]-->
</head>
<body topmargin=5 {$bodyattrs}>
{BEGIN body}
{$header}

<div id="height10{$id}0">
<b class="xtop"><b class="xb1b"></b><b class="xb2b"></b><b class="xb3b"></b><b class="xb4b"></b></b>
{BEGIN toplinks_block}
<div id="toplinks_block{$id}" class="upeditmenu">
<span><font style="FONT-FAMILY: Verdana, Arial;">Logged on as</font>&nbsp;<b>{$username}</b>&nbsp;</span>
<span class=buttonborder><input type=button class=button value="Log out" {$logoutlink_attrs}></span>



{BEGIN asearch_link}
<span class=buttonborder><input type=button class=button value="Advanced search" {$asearchlink_attrs}></span>
{END asearch_link}

{BEGIN export_link}
<span class=buttonborder><input type=button class=button value="Export results" {$exportlink_attrs}></span>
{END export_link}

{BEGIN print_link}
<span class=buttonborder><input type=button class=button value="Printer-friendly version" {$printlink_attrs}></span>
{END print_link}
{BEGIN printall_link}
<span class=buttonborder><input type=button class=button value="Print all pages" {$printalllink_attrs}></span>
{END printall_link}


</div>
{END toplinks_block}
<div class="main_table_border2 main_table" id="global_block{$id}" style="border: 1px solid #516C81;">
    <div id="left_block{$id}">
        <b class="xtop"><b class="xb1b1"></b><b class="xb2b1"></b><b class="xb3b1"></b><b class="xb4b1"></b></b>
        <div class="menu_table" id="menu_block{$id}">
                        {BEGIN menu_block}
                            {BEGIN article_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$article_tablelink_attrs}
                 class="tablelinkssearch">Article</a>
                </span>
                </div>
                {END article_tablelink}
                {BEGIN articlecategory_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$articlecategory_tablelink_attrs}
                 class="tablelinkssearch">Articlecategory</a>
                </span>
                </div>
                {END articlecategory_tablelink}
                {BEGIN catedetailproduct_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$catedetailproduct_tablelink_attrs}
                 class="tablelinkssearch">Catedetailproduct</a>
                </span>
                </div>
                {END catedetailproduct_tablelink}
                {BEGIN category_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search2.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$category_tablelink_attrs}
                 class="highlight-tablesearch" >Category</a>
                </span>
                </div>
                {END category_tablelink}
                {BEGIN categorydetail_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$categorydetail_tablelink_attrs}
                 class="tablelinkssearch">Categorydetail</a>
                </span>
                </div>
                {END categorydetail_tablelink}
                {BEGIN customer_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$customer_tablelink_attrs}
                 class="tablelinkssearch">Customer</a>
                </span>
                </div>
                {END customer_tablelink}
                {BEGIN feedback_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$feedback_tablelink_attrs}
                 class="tablelinkssearch">Feedback</a>
                </span>
                </div>
                {END feedback_tablelink}
                {BEGIN forum_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$forum_tablelink_attrs}
                 class="tablelinkssearch">Forum</a>
                </span>
                </div>
                {END forum_tablelink}
                {BEGIN productdetail_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$productdetail_tablelink_attrs}
                 class="tablelinkssearch">Productdetail</a>
                </span>
                </div>
                {END productdetail_tablelink}
                {BEGIN receiveemail_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$receiveemail_tablelink_attrs}
                 class="tablelinkssearch">Receiveemail</a>
                </span>
                </div>
                {END receiveemail_tablelink}
                {BEGIN sponsor_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$sponsor_tablelink_attrs}
                 class="tablelinkssearch">Sponsor</a>
                </span>
                </div>
                {END sponsor_tablelink}
                {BEGIN user_tablelink}
                <div>
                <span>
                 <img src="include/img/arrow_search.gif" border=0> 
                </span>
                <span>&nbsp;&nbsp;<a {$user_tablelink_attrs}
                 class="tablelinkssearch">User</a>
                </span>
                </div>
                {END user_tablelink}
	            {END menu_block}
        </div>
	{BEGIN search_records_block}
	<div>
        		{BEGIN searchform}
        <div class="menu_table" id="search_block{$id}">
            <div class="blackshade2" id="center_block{$id}">
                Search for:
            </div>
            <div class="blackshade">
                {BEGIN searchform_field}
                <select id="ctlSearchField{$id}">
                <option value="">Any field</option>
                <option value="CateID" {$CateID_searchfieldoption}>Cate ID</option>
                <option value="CateName" {$CateName_searchfieldoption}>Cate Name</option>
                <option value="CateParent" {$CateParent_searchfieldoption}>Cate Parent</option>
                <option value="Description" {$Description_searchfieldoption}>Description</option>
                <option value="VipLevel" {$VipLevel_searchfieldoption}>Vip Level</option>
                <option value="Active" {$Active_searchfieldoption}>Active</option>
                <option value="Price" {$Price_searchfieldoption}>Price</option>
                <option value="Image" {$Image_searchfieldoption}>Image</option>
                <option value="Status" {$Status_searchfieldoption}>Status</option>
                <option value="CreatedDate" {$CreatedDate_searchfieldoption}>Created Date</option>
                <option value="UpdatedDate" {$UpdatedDate_searchfieldoption}>Updated Date</option>
                </select>
                {END searchform_field}
            </div>
            <div class="blackshade">
                {BEGIN searchform_option}
                <select id="ctlSearchOption{$id}">
                <option value="Contains" {$Contains_searchtypeoption}>Contains</option>
                <option value="Equals" {$Equals_searchtypeoption}>Equals</option>
                <option value="Starts with ..." {$Starts_with_____searchtypeoption}>Starts with ...</option>
                <option value="More than ..." {$More_than_____searchtypeoption}>More than ...</option>
                <option value="Less than ..." {$Less_than_____searchtypeoption}>Less than ...</option>
                <option value="Equal or more than ..." {$Equal_or_more_than_____searchtypeoption}>Equal or more than ...</option>
                <option value="Equal or less than ..." {$Equal_or_less_than_____searchtypeoption}>Equal or less than ...</option>
                <option value="Empty" {$Empty_searchtypeoption}>Empty</option>
                </select>
                {END searchform_option}
            </div>
            <div class="blackshade">
                {BEGIN searchform_text}
                <input type=text size=20 {$searchfor_attrs}>
                {END searchform_text}
            </div>
            <div id="search_block_center{$id}" class="blackshade">
                {BEGIN searchform_search}
                <span class=buttonborder><input type=button class="button" value="Search" {$searchbutton_attrs}></span>
                {END searchform_search}
                &nbsp;		
                {BEGIN searchform_showall}
                <span class=buttonborder><input type=button class="button" value="Show all" {$showallbutton_attrs}></span>
                {END searchform_showall}
            </div>
            <div class="blackshade2" id="details_block{$id}">
                {BEGIN details_block}
                <span>Details found: {$records_found}</span>
                {END details_block}
            </div>
            <div class="menu_text blackshade" id="pages_block{$id}">
                {BEGIN pages_block}
                <span>Page {$page} of {$maxpages}</span>
                {END pages_block}
            </div>
        </div>
		{END searchform}
        <div class="menu_table2">
            {BEGIN recordspp_block}
            <div class="menu_text blackshade" id="recordspp_block{$id}" >
                Records Per Page:&nbsp;
                <select {$recordspp_attrs}>
                <option value="10" {$rpp10_selected}>10</option>
                <option value="20" {$rpp20_selected}>20</option>
                <option value="30" {$rpp30_selected}>30</option>
                <option value="50" {$rpp50_selected}>50</option>
                <option value="100" {$rpp100_selected}>100</option>
                <option value="500" {$rpp500_selected}>500</option>
                </select>
            </div>
            {END recordspp_block}
        </div>
	</div>
	{END search_records_block}
    </div>

    <div id="right_block{$id}">
        
        
        <div class=list_table1>
        <div class=list_table>
        
        <div class=blackshade2 id="center_block_caption{$id}">
        Category
        </div>
        {BEGIN recordcontrols_block}
        <div class=blackshade id="recordcontrols_block{$id}">
	        {BEGIN newrecord_controls}
		<span id="newrecord_controls{$id}">
                {BEGIN add_link}
        <span class=buttonborder><input type=button class="button" value="Add new" {$addlink_attrs}></span>
        {END add_link}

                {BEGIN inlineadd_link}
        <span class=buttonborder><input type=button class="button" value="Inline Add" {$inlineaddlink_attrs} ></span>
        {END inlineadd_link}
        </span>
		{END newrecord_controls}

		{BEGIN record_controls}
		<span id="record_controls{$id}">
        
                        {BEGIN editselected_link}
        <span class=buttonborder ><input type=button class="button" value="Edit selected" {$editselectedlink_attrs}></span>
        {END editselected_link}
        {BEGIN saveall_link}
        <span class=buttonborder><input type=button class="button" value="Save all" {$savealllink_attrs}></span>
        {END saveall_link}
        {BEGIN cancelall_link}
        <span class=buttonborder><input type=button class="button" value="Cancel" {$cancelalllink_attrs}></span>
        {END cancelall_link}

                {BEGIN delete_link}
        <span class=buttonborder><input type=button class="button" value="Delete selected" {$deletelink_attrs}></span>
        {END delete_link}

                {BEGIN exportselected_link}
        <span class=buttonborder><input type=button class="button" value="Export selected" {$exportselectedlink_attrs}></span>
        {END exportselected_link}

                {BEGIN printselected_link}
        <span class=buttonborder><input type=button class="button" value="Print selected" {$printselectedlink_attrs}></span>
        {END printselected_link}
		</span>
		{END record_controls}
        </div>
        {END recordcontrols_block}
<div style="height:100%">
{BEGIN grid_block}
<div id="grid_block{$id}">
<table width="100%" name="maintable" border=0 cellpadding=3 cellspacing=0 class="data">
{BEGIN grid_header}
<tr valign="top">
{BEGIN record_header}
<td class="headerlist">&nbsp;</td>

{BEGIN edit_column}
<td width=50 align="center" class="headerlist"><img src="include/img/icon_edit.gif"></td>
{END edit_column}

{BEGIN inlineedit_column}
<td width=50 align="center" class="headerlist"><img src="include/img/icon_edit.gif"></td>
{END inlineedit_column}


{BEGIN view_column}
<td width=50 align="center" class="headerlist"><img src="include/img/icon_view.gif"></td>
{END view_column}

{BEGIN checkbox_column}
<td width=50 align="center" class="headerlist">
<input type=checkbox {$checkboxheader_attrs}>
</td>
{END checkbox_column}


{BEGIN CateID_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN CateID_fieldheader}
<a class="tablelinks" {$CateID_orderlinkattrs}>
Cate ID</a>
{END CateID_fieldheader}
</td>
{END CateID_fieldheadercolumn}
{BEGIN CateName_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN CateName_fieldheader}
<a class="tablelinks" {$CateName_orderlinkattrs}>
Cate Name</a>
{END CateName_fieldheader}
</td>
{END CateName_fieldheadercolumn}
{BEGIN CateParent_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN CateParent_fieldheader}
<a class="tablelinks" {$CateParent_orderlinkattrs}>
Cate Parent</a>
{END CateParent_fieldheader}
</td>
{END CateParent_fieldheadercolumn}
{BEGIN Description_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN Description_fieldheader}
<a class="tablelinks" {$Description_orderlinkattrs}>
Description</a>
{END Description_fieldheader}
</td>
{END Description_fieldheadercolumn}
{BEGIN VipLevel_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN VipLevel_fieldheader}
<a class="tablelinks" {$VipLevel_orderlinkattrs}>
Vip Level</a>
{END VipLevel_fieldheader}
</td>
{END VipLevel_fieldheadercolumn}
{BEGIN Active_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN Active_fieldheader}
<a class="tablelinks" {$Active_orderlinkattrs}>
Active</a>
{END Active_fieldheader}
</td>
{END Active_fieldheadercolumn}
{BEGIN Price_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN Price_fieldheader}
<a class="tablelinks" {$Price_orderlinkattrs}>
Price</a>
{END Price_fieldheader}
</td>
{END Price_fieldheadercolumn}
{BEGIN Image_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN Image_fieldheader}
<a class="tablelinks" {$Image_orderlinkattrs}>
Image</a>
{END Image_fieldheader}
</td>
{END Image_fieldheadercolumn}
{BEGIN Status_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN Status_fieldheader}
<a class="tablelinks" {$Status_orderlinkattrs}>
Status</a>
{END Status_fieldheader}
</td>
{END Status_fieldheadercolumn}
{BEGIN CreatedDate_fieldheadercolumn}
    <td class="headerlist" align=center>
{BEGIN CreatedDate_fieldheader}
<a class="tablelinks" {$CreatedDate_orderlinkattrs}>
Created Date</a>
{END CreatedDate_fieldheader}
</td>
{END CreatedDate_fieldheadercolumn}
{BEGIN UpdatedDate_fieldheadercolumn}
    <td class="headerlist_right2" align=center>
{BEGIN UpdatedDate_fieldheader}
<a class="tablelinks" {$UpdatedDate_orderlinkattrs}>
Updated Date</a>
{END UpdatedDate_fieldheader}
</td>
{END UpdatedDate_fieldheadercolumn}

{BEGIN endrecordheader_block}
<td class="table_right"></td>
{END endrecordheader_block}
{END record_header}
</tr>
{END grid_header}


{BEGIN grid_row}
<tr valign="top" {$rowstyle} {$rowattrs}>
{BEGIN grid_record}

<td>&nbsp;</td>

{BEGIN edit_column}
<td align="center" valign=middle>
{BEGIN edit_link}
<a class=tablelinks {$editlink_attrs}>Edit</a>
{END edit_link}
</td>
{END edit_column}

{BEGIN inlineedit_column}
<td align="center" valign=middle>
{BEGIN inlineedit_link}
<a class=tablelinks {$inlineeditlink_attrs}>Inline Edit</a>
{END inlineedit_link}
</td>
{END inlineedit_column}


{BEGIN view_column}
<td align="center" valign=middle>
{BEGIN view_link}
<a class=tablelinks {$viewlink_attrs}>View</a>
{END view_link}
</td>
{END view_column}

{BEGIN checkbox_column}
<td align="center" valign=middle>
{BEGIN checkbox}
<input type=checkbox {$checkbox_attrs}>
{END checkbox}
</td>
{END checkbox_column}


{BEGIN CateID_fieldcolumn}
<td align=center valign=middle class=borderbody {$CateID_style}>
{$CateID_value}
</td>
{END CateID_fieldcolumn}
{BEGIN CateName_fieldcolumn}
<td align=center valign=middle class=borderbody {$CateName_style}>
{$CateName_value}
</td>
{END CateName_fieldcolumn}
{BEGIN CateParent_fieldcolumn}
<td align=center valign=middle class=borderbody {$CateParent_style}>
{$CateParent_value}
</td>
{END CateParent_fieldcolumn}
{BEGIN Description_fieldcolumn}
<td align=center valign=middle class=borderbody {$Description_style}>
{$Description_value}
</td>
{END Description_fieldcolumn}
{BEGIN VipLevel_fieldcolumn}
<td align=center valign=middle class=borderbody {$VipLevel_style}>
{$VipLevel_value}
</td>
{END VipLevel_fieldcolumn}
{BEGIN Active_fieldcolumn}
<td align=center valign=middle class=borderbody {$Active_style}>
{$Active_value}
</td>
{END Active_fieldcolumn}
{BEGIN Price_fieldcolumn}
<td align=center valign=middle class=borderbody {$Price_style}>
{$Price_value}
</td>
{END Price_fieldcolumn}
{BEGIN Image_fieldcolumn}
<td align=center valign=middle class=borderbody {$Image_style}>
{$Image_value}
</td>
{END Image_fieldcolumn}
{BEGIN Status_fieldcolumn}
<td align=center valign=middle class=borderbody {$Status_style}>
{$Status_value}
</td>
{END Status_fieldcolumn}
{BEGIN CreatedDate_fieldcolumn}
<td align=center valign=middle class=borderbody {$CreatedDate_style}>
{$CreatedDate_value}
</td>
{END CreatedDate_fieldcolumn}
{BEGIN UpdatedDate_fieldcolumn}
<td align=center valign=middle class=borderbody {$UpdatedDate_style}>
{$UpdatedDate_value}
</td>
{END UpdatedDate_fieldcolumn}

{BEGIN endrecord_block}
<td width=20 class=table_right {$endrecordblock_attrs}>&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
	
</table>
</div>
{END grid_block}
</div>
{BEGIN message_block}
<div class="xboxcontentb message_block">
{$message}
</div>
{END message_block}
{BEGIN pagination_block}
<div class="xboxcontentb message_block">
{$pagination}
</div>
{END pagination_block}
</div>
</div>
</div>
</div>
<b class="xbottom"><b class="xb4b"></b><b class="xb3b"></b><b class="xb2b"></b><b class="xb1b"></b></b>
</div>
{$footer}
{END body}
</body>
</html>


